package com.example.pages;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.WebDriverWait;


abstract public class PageBase {

    WebDriver driver;

    public boolean isOnThisPage() {
        return true;
    }

    abstract void tryToOpen();

    public WebDriverWait wait_() {
        return new WebDriverWait(driver, 10);
    }

}
